package com.ys.web.user.collection;

import com.ys.base.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CollectionMapper extends BaseDao {
    void saveCollection(Collection collection);

    long getCollectionListPageCount(Map<String,Object> map);

    List<Collection> getCollectionListPage(Map<String,Object> map);

    void deleteById(@Param("obj") Collection collection);
}
